﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Teacher:father
    {
        private string title;
        private int wageno;
        public string Title
        {
            get { return this.title; }
            set { this.title = value; }

        }
        public int Wageno
        {
            get { return this.wageno; }
            set { this.wageno = value; }

        }
        public Teacher(string name) {

            this .Name = "cai";
            this.Id = 1;
            this.Sex = "男";
            this.Tel = 15452245461545;
            this.Title = "初级";
            this.Cardid = 15451515415154105;
            this.Wageno = 3000;
            Console.WriteLine(this.Name);
            Console.WriteLine(this.Id);
            Console.WriteLine(this.Sex);
            Console.WriteLine(this.Tel);
            Console.WriteLine(this.Cardid);
            Console.WriteLine(this.Wageno);
        }
    }
}
